package com.wp.service;

import com.wp.entity.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordService {
    List<StorageRecord> findRecordByPage(Integer pageIndex, Integer pageSize, String queryGoodsName, Integer querySupplierId,Integer querypayStatus) throws Exception;

    public Integer findRecordTotalCount( String queryGoodsName,
                                         Integer querySupplierId,
                                         Integer querypayStatus);

    // 添加信息
    public int toAdd(StorageRecord storageRecord);

    // 根据编号查询
    public StorageRecord findById(Integer id);

    // 删除信息
    public int del(Integer id);

    // 修改信息
    public int upd(StorageRecord storageRecord);
}
